package com.mingqijia.gassafety.db.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-03-11
 */

@Data
public class WarningRecodeVO {
    @ApiModelProperty(value = "通知开始时间范围")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "通知开始时间范围")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "报警开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("warning_start_time")
    private Date warningStartTime;

    @ApiModelProperty(value = "通知对象-客户名称")
    private String consumerName;

    @ApiModelProperty(value = "通知对象-户号")
    private String subsCode;

    @ApiModelProperty(value = "通知对象-户名")
    private String custName;

    private Integer consumerId;

    @ApiModelProperty(value = "报警类型 1低报 2高报, 3低报,高报")
    private Integer type;

    @ApiModelProperty(value = "触发规则")
    private String triggerRuleId;

    @ApiModelProperty(value = "触发规则名")
    private String ruleName;

    @ApiModelProperty(value = "设备号")
    private String iMEI;

    @ApiModelProperty(value = "实际报警设备_设备号")
    private String supIMEI;

    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @ApiModelProperty(value = "设备类型")
    private String equipmentTypeName;

    @ApiModelProperty(value = "设备位置")
    private String installationPosition;

    @ApiModelProperty(value = "状态：0执行中 1手动暂停 2报警解除，系统暂停")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "当前任务唯一识别码")
    private String taskIdentificationCode;

    private String memberInfo;

}
